﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/DefaultTemplate.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TeamBuy.AccessWebUI.Admin.Login" %>
<%@ Register src="../Components/Main_PublicSystemMessage.ascx" tagname="Main_PublicSystemMessage" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphDefaultHead" runat="server">
    <script language="javascript" type="text/javascript">
        function SubmitKeyClick(button) {
            if (event.keyCode == 13) {
                event.keyCode = 9;
                event.returnValue = false;
                document.all[button].click();
            }
        }
    </script>  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphDefault" runat="server">
    <uc1:Main_PublicSystemMessage ID="Main_PublicSystemMessage1" runat="server" />
    <div id="bdw" class="bdw">
        <div id="bd" class="cf">
            <div id="login">
                <div id="content">
                    <div class="box">
                        <div class="box-top">
                            
                        </div>
                        <div class="box-content">
                            <div class="head">
                                <h2>
                                    管理员登录</h2></div>
                            <div class="sect">
                                <div class="field email">
                                    <label for="login-email-address">
                                        用户名</label>
                                    <asp:TextBox ID="txtAdminName" runat="server" class="f-input" TabIndex="1"></asp:TextBox>
                                    <span class="lostpassword">
                                    <asp:RequiredFieldValidator ID="rfvAdminName" runat="server" Display="Dynamic" ControlToValidate="txtAdminName" 
                                        ErrorMessage="请输入管理员用户名" ValidationGroup="AdminLoginValidation"></asp:RequiredFieldValidator>
                                    </span>
                                </div>
                                <div class="field password">
                                    <label for="login-password">
                                        密码</label>
                                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" class="f-input" TabIndex="2"></asp:TextBox>
                                    <span class="lostpassword"><asp:RequiredFieldValidator ID="rfvPassword" runat="server" Display="Dynamic" ControlToValidate="txtPassword" 
                                        ErrorMessage="密码不能为空" ValidationGroup="AdminLoginValidation"></asp:RequiredFieldValidator></span>
                                </div>
                                
                                <div class="act" style="background: none;">
                                    <asp:Button ID="btnSubmit" runat="server" Text="登录" class="formbutton" 
                                        ValidationGroup="AdminLoginValidation" onclick="btnSubmit_Click" />
                                </div>
                                
                            </div>
                        </div>
                        <div class="box-bottom">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- bd end -->
    </div>
    <!-- bdw end -->
</asp:Content>
